package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

/**
 * @author cjr
 */
@Data
@Builder
public class LeadIndexResponse {
    @ApiModelProperty(value = "文章列表", dataType = "LeadIndexResponse.Index")
    private PageResponse2<Index> indexs;

    @ApiModel("LeadIndexResponse.Index")
    @Data
    @Builder
    public static class Index {
        private Integer id;
        private String title;
        private String type;
        private String time;
    }
}
